package com.xmcc.dao;

import com.xmcc.pojo.SysRoleAcl;
import com.xmcc.pojo.SysRoleUser;
import com.xmcc.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRoleUser record);

    int insertSelective(SysRoleUser record);

    SysRoleUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRoleUser record);

    int updateByPrimaryKey(SysRoleUser record);

    List<SysRoleUser> roleUserList(@Param("roleId") Integer roleId);

    void deleteByPrimaryKeys(@Param("roleId") Integer roleId);
}